.PHONY:all
all:NetCal_client NetCal_server

NetCal_client:CalClient.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp
NetCal_server:CalServer.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -f NetCal_client NetCal_server